/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.sys.entity.currency;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 招商合作Entity
 * @author 李欣荣
 * @version 2018-10-09
 */
public class HkShopCooperation extends DataEntity<HkShopCooperation> {
	
	private static final long serialVersionUID = 1L;
	private String username;		// 联系人姓名
	private String mobile;		// 联系方式
	private String occupation;		// 从事职业
	private String provinceCode;		// 省/直辖市代码
	private String cityCode;		// 市代码
	private String areaCode;		// 区/县代码
	private String state;		// 状态
	private String provinceName;
	private String cityName;
	private String areaName;

	public HkShopCooperation() {
		super();
	}

	public HkShopCooperation(String id){
		super(id);
	}

	@Length(min=0, max=32, message="联系人姓名长度必须介于 0 和 32 之间")
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	
	@Length(min=0, max=11, message="联系方式长度必须介于 0 和 11 之间")
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	@Length(min=0, max=32, message="从事职业长度必须介于 0 和 32 之间")
	public String getOccupation() {
		return occupation;
	}

	public void setOccupation(String occupation) {
		this.occupation = occupation;
	}
	
	@Length(min=0, max=32, message="省/直辖市代码长度必须介于 0 和 32 之间")
	public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}
	
	@Length(min=0, max=32, message="市代码长度必须介于 0 和 32 之间")
	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}
	
	@Length(min=0, max=32, message="区/县代码长度必须介于 0 和 32 之间")
	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}
	
	@Length(min=0, max=1, message="状态长度必须介于 0 和 1 之间")
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
}